home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch28 / 28fig02.wrl < prev    next >
Text File  |  1996-09-23  |  756b  |  38 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.         NavigationInfo { headlight FALSE },
  8.     # Room
  9.         Inline { url "droom.wrl" },
  10.     # Dungeon wall
  11.         Transform {
  12.             translation 0.0 0.0 -5.0
  13.             children DEF Wall Inline { url "dwall2.wrl" },
  14.         },
  15.     # Anchor doors
  16.         Anchor {
  17.             url "dngnwrld.wrl"
  18.             description "The Dungeon"
  19.             children [
  20.             # Left door panel
  21.                 Transform {
  22.                     translation -0.75 0.0 -4.95
  23.                     children DEF LeftDoor Transform {
  24.                         children DEF Door Inline { url "ddoor.wrl" }
  25.                     }
  26.                 },
  27.             # Right door panel
  28.                 Transform {
  29.                     translation 0.75 0.0 -4.95
  30.                     children DEF RightDoor Transform {
  31.                         children USE Door
  32.                     }
  33.                 }
  34.             ]
  35.         }
  36.     ]
  37. }
  38.